package cn.stylefeng.guns.modular.order.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 武汉合单商品分配
 * </p>
 *
 * @author wp
 * @since 2025-10-13
 */
@TableName("wh_out_order_allocate")
public class WhOutOrderAllocate implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 单据状态
     */
    @TableField("out_order_status")
    private String outOrderStatus;

    /**
     * 出库单号
     */
    @TableField("out_order_number")
    private String outOrderNumber;

    /**
     * 客户id
     */
    @TableField("out_customer_id")
    private Long outCustomerId;

    /**
     * 客户名称
     */
    @TableField("out_customer_name")
    private String outCustomerName;

    /**
     * 客户单号
     */
    @TableField("customer_number")
    private String customerNumber;

    /**
     * 仓库id
     */
    @TableField("out_storehouse_id")
    private Long outStorehouseId;

    /**
     * 库房名称
     */
    @TableField("storehouse_name")
    private String storehouseName;

    /**
     * 结算方式
     */
    @TableField("settlement_way")
    private String settlementWay;

    /**
     * 部门id
     */
    @TableField("dept_id")
    private Long deptId;

    /**
     * 交付客户id
     */
    @TableField("deliver_id")
    private Long deliverId;

    /**
     * 快递单
     */
    @TableField("express_delivery")
    private String expressDelivery;

    /**
     * 商品编号
     */
    @TableField("detailed_goodscode")
    private String detailedGoodscode;

    /**
     * 商品id
     */
    @TableField("detailed_goods_id")
    private Long detailedGoodsId;

    /**
     * 商品名称
     */
    @TableField("detailed_goodsname")
    private String detailedGoodsname;

    /**
     * 数量
     */
    @TableField("detailed_number")
    private String detailedNumber;

    /**
     * 托盘编号
     */
    @TableField("tray_number")
    private String trayNumber;

    /**
     * 库位编号
     */
    @TableField("storage_postion_number")
    private String storagePostionNumber;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getOutOrderStatus() {
        return outOrderStatus;
    }

    public void setOutOrderStatus(String outOrderStatus) {
        this.outOrderStatus = outOrderStatus;
    }

    public String getOutOrderNumber() {
        return outOrderNumber;
    }

    public void setOutOrderNumber(String outOrderNumber) {
        this.outOrderNumber = outOrderNumber;
    }

    public Long getOutCustomerId() {
        return outCustomerId;
    }

    public void setOutCustomerId(Long outCustomerId) {
        this.outCustomerId = outCustomerId;
    }

    public String getOutCustomerName() {
        return outCustomerName;
    }

    public void setOutCustomerName(String outCustomerName) {
        this.outCustomerName = outCustomerName;
    }

    public String getCustomerNumber() {
        return customerNumber;
    }

    public void setCustomerNumber(String customerNumber) {
        this.customerNumber = customerNumber;
    }

    public Long getOutStorehouseId() {
        return outStorehouseId;
    }

    public void setOutStorehouseId(Long outStorehouseId) {
        this.outStorehouseId = outStorehouseId;
    }

    public String getStorehouseName() {
        return storehouseName;
    }

    public void setStorehouseName(String storehouseName) {
        this.storehouseName = storehouseName;
    }

    public String getSettlementWay() {
        return settlementWay;
    }

    public void setSettlementWay(String settlementWay) {
        this.settlementWay = settlementWay;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public Long getDeliverId() {
        return deliverId;
    }

    public void setDeliverId(Long deliverId) {
        this.deliverId = deliverId;
    }

    public String getExpressDelivery() {
        return expressDelivery;
    }

    public void setExpressDelivery(String expressDelivery) {
        this.expressDelivery = expressDelivery;
    }

    public String getDetailedGoodscode() {
        return detailedGoodscode;
    }

    public void setDetailedGoodscode(String detailedGoodscode) {
        this.detailedGoodscode = detailedGoodscode;
    }

    public Long getDetailedGoodsId() {
        return detailedGoodsId;
    }

    public void setDetailedGoodsId(Long detailedGoodsId) {
        this.detailedGoodsId = detailedGoodsId;
    }

    public String getDetailedGoodsname() {
        return detailedGoodsname;
    }

    public void setDetailedGoodsname(String detailedGoodsname) {
        this.detailedGoodsname = detailedGoodsname;
    }

    public String getDetailedNumber() {
        return detailedNumber;
    }

    public void setDetailedNumber(String detailedNumber) {
        this.detailedNumber = detailedNumber;
    }

    public String getTrayNumber() {
        return trayNumber;
    }

    public void setTrayNumber(String trayNumber) {
        this.trayNumber = trayNumber;
    }

    public String getStoragePostionNumber() {
        return storagePostionNumber;
    }

    public void setStoragePostionNumber(String storagePostionNumber) {
        this.storagePostionNumber = storagePostionNumber;
    }

    @Override
    public String toString() {
        return "WhOutOrderAllocate{" +
        "id=" + id +
        ", outOrderStatus=" + outOrderStatus +
        ", outOrderNumber=" + outOrderNumber +
        ", outCustomerId=" + outCustomerId +
        ", outCustomerName=" + outCustomerName +
        ", customerNumber=" + customerNumber +
        ", outStorehouseId=" + outStorehouseId +
        ", storehouseName=" + storehouseName +
        ", settlementWay=" + settlementWay +
        ", deptId=" + deptId +
        ", deliverId=" + deliverId +
        ", expressDelivery=" + expressDelivery +
        ", detailedGoodscode=" + detailedGoodscode +
        ", detailedGoodsId=" + detailedGoodsId +
        ", detailedGoodsname=" + detailedGoodsname +
        ", detailedNumber=" + detailedNumber +
        ", trayNumber=" + trayNumber +
        ", storagePostionNumber=" + storagePostionNumber +
        "}";
    }
}
